import axios from 'axios'
let mockRequire = axios.create({
    baseURL: '/mock',
    timeout: 5000
});
mockRequire.interceptors.request.use((config) => {
    return config;
})
mockRequire.interceptors.response.use((resp) => {
    return resp.data;
},(err) => {
    return Promise.reject(err);
})
export default mockRequire;
